import { ExtendCalendarProps, ExtendCalendarPropsType } from '../extend-calendar.props';
import { SetupContext } from 'vue';
const weekItem = [
    { cn: "日", en: 'Sun' },
    { cn: '一', en: 'Mon' },
    { cn: "二", en: "Tue" },
    { cn: "三", en: "Wed" },
    { cn: "四", en: "Thu" },
    { cn: "五", en: "Fri" },
    { cn: "六", en: "Sat" }
]
export default function (
    props: ExtendCalendarPropsType,
    context: SetupContext,
) {
    const renderWeekItem = () =>{
        return weekItem.map(week => {
            return <div class='f-extend-calendar-weeks-item'>{week.en}</div>
        })
    }
    return () => {
        return (<div class='f-extend-calendar-weeks'>
            {renderWeekItem()}
        </div>)
    }
}